package com.huanong.it.xwcommon.vo;

public class Result<T> {
    private String msg;
    private int code;
    private T data;
    public Result(){}
    public Result(int code,  T data,String msg){
        this.code = code;
        this.data = data;
        this.msg=msg;
    }
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
